package com.shop.cereshop.app.dl.logic.domain;

import java.io.Serializable;

public class CereShopCarousel implements Serializable {
    private Long carousel;

    private String carouselPhoto;

    private String carouselLink;

    private String carouselTitle;

    private Integer sort;

    private String createTime;

    private Byte state;

    private static final long serialVersionUID = 1L;

    public Long getCarousel() {
        return carousel;
    }

    public void setCarousel(Long carousel) {
        this.carousel = carousel;
    }

    public String getCarouselPhoto() {
        return carouselPhoto;
    }

    public void setCarouselPhoto(String carouselPhoto) {
        this.carouselPhoto = carouselPhoto == null ? null : carouselPhoto.trim();
    }

    public String getCarouselLink() {
        return carouselLink;
    }

    public void setCarouselLink(String carouselLink) {
        this.carouselLink = carouselLink == null ? null : carouselLink.trim();
    }

    public String getCarouselTitle() {
        return carouselTitle;
    }

    public void setCarouselTitle(String carouselTitle) {
        this.carouselTitle = carouselTitle == null ? null : carouselTitle.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", carousel=").append(carousel);
        sb.append(", carouselPhoto=").append(carouselPhoto);
        sb.append(", carouselLink=").append(carouselLink);
        sb.append(", carouselTitle=").append(carouselTitle);
        sb.append(", sort=").append(sort);
        sb.append(", createTime=").append(createTime);
        sb.append(", state=").append(state);
        sb.append("]");
        return sb.toString();
    }
}